package com.treeman.friend.exception;

import com.treeman.api.ApiRequestError.ApiError;

public class InvitationNotFoundException extends InvitationException {

	private static final long serialVersionUID = -5280423405605242592L;

	private String requestingUsername;

	public InvitationNotFoundException(ApiError error, String message) {
		super(error, message);
	}

	public InvitationNotFoundException(String requestingUsername) {
		this.requestingUsername = requestingUsername;
	}

	public String getRequestingUsername() {
		return requestingUsername;
	}

	public void setRequestingUsername(String requestingUsername) {
		this.requestingUsername = requestingUsername;
	}
}
